projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
646d9d1
)
(mouse-menu-bar-buffers):
author
Richard M. Stallman
<rms@gnu.org>
Fri, 9 Jul 1993 04:04:39 +0000
(
04:04
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 9 Jul 1993 04:04:39 +0000
(
04:04
+0000)
Don't lose if all buffer names are short.
lisp/menu-bar.el
patch
|
blob
|
history
diff --git
a/lisp/menu-bar.el
b/lisp/menu-bar.el
index 5da62849bc24f9d541e9fbebd13dd118f1e540bc..c4a2ea013b8db68d44b48efa57a0bd223e5f237b 100644
(file)
--- a/
lisp/menu-bar.el
+++ b/
lisp/menu-bar.el
@@
-197,7
+197,7
@@
and selects that window."
(setq maxlen (length (car (car head))))))
(setq tail (cdr tail)))
(nconc (reverse head)
- (list (cons (concat (make-string (
- (/ maxlen 2) 8
) ?\ )
+ (list (cons (concat (make-string (
max 0 (- (/ maxlen 2) 8)
) ?\ )
"List All Buffers")
'list-buffers)))))))